<?php 
//echo '<pre style="color:#fff">';print_r($form['group_login']['field_nick_name']);echo '</pre>';
?>
<div class="addtocart_pagearea">
 <div class="edit_left_area">
 <p>
<?php

global $base_url;
//echo $form['#node']->field_gender[0]['value'];
  $image_filepath = $form['#node']->field_upload_image['0']['filepath'];
// print "<img src='".$image_filepath."' width='189' height='202'/>";
 if($form['#node']->field_upload_image['0']['fid'] != ""){
	    print theme('imagecache', 'edit_profile', $image_filepath, '', '', array('style'=>'padding:3px'));
 } else {
 if($form['#node']->field_gender[0]['value'] == 'Male')
 {
  $img = "male.gif";
 }
 else{ $img = "female.gif";}
?>				
            	<img height="144" width="144" src="<?php print $base_url.'/'.path_to_theme();?>/images/<?php print $img;?>">
<!--<img height="36" width="191" src="<?php print $base_url.'/'.path_to_theme();?>/images/edit_myprofile.gif">-->
            <?php }?>


 </p>
</div>
<div class="edit_right_area">
<div style="position: fixed;left:67%; float: right; width: 100%;">
<?php print  drupal_render($form['buttons']['submit']);?>
</div>
<h1>Basic information</h1>
					 <?php print drupal_render($form['field_currently_looking']);?>
<table cellpadding="1" class="user_details">
        
        
          	<tr>
            	<td>
				<?php print drupal_render($form['field_first_name']);?>

					</td>
                 <td>	<?php print drupal_render($form['field_dob']);?></td>   
				 </tr>
				 <tr>
                 <td>	<?php print drupal_render($form['field_family_name']);?></td>
                 <td> 
					<?php print drupal_render($form['field_address_line1']);?>
					</td>  
					</tr>
					<tr>
                 <td>				<?php // print drupal_render($form['group_login']['field_mobile']);
				 print drupal_render($form['field_nick_name']);
				 ?></td>
                 <td>
										<?php print drupal_render($form['field_address_line2']);?>
               </td>  
			   </tr>
			   <tr>
                 <td>
					<?php //print drupal_render($form['account']['mail']);
					print drupal_render($form['field_mobile']);
					?>
					</td>
                 <td><div class="state_edit">
							<?php print drupal_render($form['field_town_city']);?>
                            <span class="pincode"><?php print drupal_render($form['field_pincode']);?></span>
                       </div>
					</td> 
					</tr>
					<tr>
					<td><?php
					unset($form['account']['mail']['#description']);
					  print drupal_render($form['account']['mail']);
					  ?>
					</td>                    
                    <td><div class="state_edit"><?php print drupal_render($form['field_state']);?>
								<span class="pincode"><?php print drupal_render($form['field_district']);?></span>
                             </div></td>
					</tr>                  
					 <tr><td style="visibility:hidden;"><?php print drupal_render($form['taxonomy']);?></td><td></td></tr>
          
        </table>
<p>&nbsp;</p>
		  <h1 style="margin-top:-30px;">Change your password</h1>
   <table cellpadding="1" class="user_details">
<tr>
            	<td>
									<?php print drupal_render($form['account']['pass']);?>

				</td>
            	</tr>
   </table>
		 
         
         
         <?php
				unset($form['field_area_interest']['#title']);
					   unset($form['field_area_interest']['0']['#title']);
					   unset($form['field_area_interest']['value']['#title']);?>
				<h1 class="edit_profile_h1">I am interested in</h1>
				<div class="description">Please select all that apply.</div>
				<?php print drupal_render($form['field_area_interest']);?>
				<?php print drupal_render($form['field_area_interest']);?>
				
                
				<?php 
				//echo '<pre>';print_r($form['group_subscriptions']['field_receive_newsletter_by']['value']['#title']);echo '</pre>';
				unset($form['group_subscriptions']['field_receive_newsletter_by']['value']['#title']);
				$form['group_subscriptions']['field_receive_newsletter_by']['value']['#options'] = array('mobile'=>'Mobile','email'=>'Email ID');
				 unset($form['group_subscriptions']['field_receive_newsletter_by']['#title']);
				print drupal_render($form['group_subscriptions']);?>
					   
				<?php 
				//print drupal_render($form['field_time']);
				?>
         
         
         
          <h1 class="edit_profile_h1">About me</h1>
		  <table class="about_details">
          	<tbody><tr>
          	<td colspan="2">	
            		<?php 
					/*echo '<pre>';print_r($form['group_personal']['field_upload_image']['0']['upload']['#description']);echo '</pre>';*/
					unset($form['group_personal']['field_upload_image']['0']['upload']['#description']);
					unset($form['group_personal']['field_upload_image']['0']['#title']);
					$form['group_personal']['field_upload_image']['0']['filefield_remove']['#value'] = t('Change picture / Remove');
					   print drupal_render($form['group_personal']['field_upload_image']);
					?>
            </td>
          	</tr>
            <tr>
            	<td class="textarea">Objective</td>
                <td>
				  
				       <?php
					   unset($form['group_personal']['field_objective']['#title']);
					   unset($form['group_personal']['field_objective']['0']['#title']);
					   unset($form['group_personal']['field_objective']['0']['value']['#title']);
					   print drupal_render($form['group_personal']['field_objective']);
					   ?>

                </td>
            <tr>
            <tr>
            	<td class="textarea">&nbsp;</td>
                <td class="obj-samples">
				  
				       <?php
					   unset($form['group_personal']['field_objective_samples']['#title']);
					   unset($form['group_personal']['field_objective_samples']['0']['#title']);
					   unset($form['group_personal']['field_objective_samples']['0']['value']['#title']);
					   print drupal_render($form['group_personal']['field_objective_samples']);
					   ?>

                </td>
            <tr>
            <tr>
            	<td class="textarea">Select that applies to you</td>                
                <td>
				      <?php
					   unset($form['group_personal']['field_applies_to_you']['#title']);
					   unset($form['group_personal']['field_applies_to_you']['0']['#title']);
					   unset($form['group_personal']['field_applies_to_you']['value']['#title']);
					   print drupal_render($form['group_personal']['field_applies_to_you']);
					   ?>

                </td>
            <!--<tr>
            	<td class="textarea">Personal experience and goals</td>
                <td>
				  
				       <?php
					   unset($form['group_personal']['field_aboutme']['#title']);
					   unset($form['group_personal']['field_aboutme']['0']['#title']);
					   unset($form['group_personal']['field_aboutme']['0']['value']['#title']);
					   print drupal_render($form['group_personal']['field_aboutme']);
					   ?>

                </td>
            
            </tr>	-->
           <!--<tr>
            	<td class="textarea">Specialities / Keyword(s)</td>
                <td>
				<?php 
				 unset($form['group_personal']['field_specialities']['#title']);
					   unset($form['group_personal']['field_specialities']['0']['#title']);
					   unset($form['group_personal']['field_specialities']['0']['value']['#title']);
				print drupal_render($form['group_personal']['field_specialities']);?>

                </td>
            
            </tr>	-->
          
          </tr>
          </tbody></table>
          <div class="projects">
				<?php 
			$form['group_details']['#group_fields']['field_project_title']['#attributes'] = array('class'=>'past_project');

				//	$form['group_details']['group_details_add_more']['#value'] = t('+ Add a project');
			//	$form['group_education']['group_education_add_more']['#value'] = t('+ Add a college');			
				print drupal_render($form['group_details']);
				
				 
					   ?>
                       </div>
                       <div class="skills">
			<table class="about_details">
			<tbody>
			<tr>
			<td class="textarea">
			Skill sets
			</td>
			<td>

				<?php 
					   unset($form['field_skills']['#title']);
					   unset($form['field_skills']['0']['#title']);
					   unset($form['field_skills']['value']['#title']);
		         	   print drupal_render($form['field_skills']);					  
				 ?>
				 			</td>

				 </tr>
          </tbody></table>          
				<?php  print drupal_render($form['field_skill_others']);
				//echo '<pre>';print_r($form['group_education']['group_education_add_more']['#value'] );echo '</pre>';
				
				//$form['group_education']['group_details_add_more']['#value'] = '+ Add a project';
				?>
</div>
				<span class="education">Education:</span> <?php print drupal_render($form['group_education']);?>
                 <div class="certification">
                <table class="about_details">
			<tbody>
			<tr>
			<td class="textarea">
			Certifications
			</td>
			<td>
            	<table class="certification">
            	<tr><td class="certification_name"><?php 
				$form['group_certification']['field_certification_name']['#title'] = "Name";
				$form['group_certification']['field_certification_year']['#title'] = "Year";
				print drupal_render($form['group_certification']['field_certification_name']);?></td>
            	<td class="certification_year"><?php print drupal_render($form['group_certification']['field_certification_year']);?></td>
				 </tr></table>
             </td>
             </tr>
             </tbody>
             </table>
                 </div>
                 <div class="certification">
                <table class="about_details">
			<tbody>
			<tr>
			<td class="textarea">
			Workshop / training
			</td>
			<td>
            	<table class="certification">
	            <tr><td class="certification_name"><?php 
				$form['group_workshop']['field_workshop_title']['#title'] = "Title";
				$form['group_workshop']['field_workshop_year']['#title'] = "Year";				
				print drupal_render($form['group_workshop']['field_workshop_title']);?></td>
                <td class="certification_year"><?php print drupal_render($form['group_workshop']['field_workshop_year']);?></td>
                </tr>
                </table>
            </td>
            </tr>
            </tbody>
            </table>
                 </div>
                 <div class="lang">
                <?php  unset($form['field_languages']['#title']); 
                unset($form['field_languages']['0']['#title']);
					   unset($form['field_languages']['0']['value']['#title']);?>
				<table class="about_details">
                    <tr>
                    <td class="textarea">Languages</td>
                    <td><?php print drupal_render($form['field_languages']); ?></td>
                    </tr>
            	</table>
                				<?php		print drupal_render($form['field_lang_others']);?>
                                </div>
			<div class="skills">
			<table class="about_details">
			<tbody>
			<tr>
			<td class="textarea">
			Interest
			</td>
			<td>

				<?php 
					   unset($form['field_interest']['#title']);
					   unset($form['field_interest']['0']['#title']);
					   unset($form['field_interest']['value']['#title']);
		         	   print drupal_render($form['field_interest']);					  
				 ?>
				 			</td>

				 </tr>
          </tbody></table>          
				<?php  //print drupal_render($form['field_skill_others']);
					   
				//echo '<pre>';print_r($form['group_education']['group_education_add_more']['#value'] );echo '</pre>';
				
				//$form['group_education']['group_details_add_more']['#value'] = '+ Add a project';
				?>
</div>
						<?php print drupal_render($form['buttons']['submit']);?>


				
</div>
<div class="clear"></div>
</div>


<div style="display:none;">
    <?php
        print drupal_render($form); // print the submit button
      ?>
    </div>
</div>